package com.ssm.dao.system;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.ssm.entity.system.Privilege;

@Repository
public interface PrivilegeDao {
	
	List<Privilege> initMenu(String roleId);
	
	List<Privilege> queryList(Privilege privilege);
	
	int queryCount(Privilege privilege);
	
	Privilege getDetail(String privilegeId);
	
	void save(Privilege privilege);
	
	void delete(String[] ids);
	
	void update(Privilege privilege);
}
